// css初始化
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: url("../images/bg.jpg") no-repeat top center;
  line-height: 1.15;
  // height: 100vh;
}
/* 声明字体*/
@font-face {
  font-family: electronicFont;
  src: url(../font/DS-DIGIT.TTF);
}
li {
  list-style: none;
  margin: 0;
  padding: 0;
}
a{
  text-decoration: none;
  color: aliceblue;
  font-size: .225rem;
}
header {
  position: relative;
  background: url("../images/head_bg.png") no-repeat;
  background-size: 100% 100%;
  height: 1.25rem;
  h1 {
    color: #fff;
    font-size: 0.475rem;
    line-height: 1rem;
    text-align: center;
    letter-spacing: 0.025rem;
  }
  .showTime {
    position: absolute;
    right: 0.375rem;
    top: 0;
    line-height: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.25rem;
  }
}

// 页面主体部分
.mainbox {
  display: flex;
  margin: 0 auto;
  min-width: 1024px;
  max-width: 1920px;
  // height: 300px;
  padding: 0.125rem 0.125rem 0;
  // background-color: antiquewhite;
  .column {
    flex: 3;
  }
  .column:nth-child(2) {
    flex: 5;
    margin: 0 0.125rem 0.1875rem;
  }
  .panel {
    width: 100%;
    position: relative;
    height: 3.875rem;
    border: 1px solid rgba(25, 186, 139, 0.17);
    background: url("../images/line\(1\).png") no-repeat;
    padding: 0 0.1875rem 0.5rem;
    margin-bottom: 0.1875rem;
    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 10px;
      height: 10px;
      border-top: 2px solid #02a6b5;
      border-left: 2px solid #02a6b5;
    }
    &::after {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      width: 10px;
      height: 10px;
      border-top: 2px solid #02a6b5;
      border-right: 2px solid #02a6b5;
    }
    .panel-footer {
      &::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 10px;
        height: 10px;
        border-bottom: 2px solid #02a6b5;
        border-left: 2px solid #02a6b5;
      }
      &::after {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        width: 10px;
        height: 10px;
        border-bottom: 2px solid #02a6b5;
        border-right: 2px solid #02a6b5;
      }
    }

    // 盒子里面的东西
    h2 {
      height: 0.6rem;
      color: #fff;
      font-size: 0.25rem;
      line-height: 0.6rem;
      text-align: center;
      font-weight: 400;
    }
    .chart {
      height: 3rem;
      // background-color: antiquewhite;
    }
  }
}

// 中间模块
.no {
  background-color: rgba(101, 132, 226, 0.1);
  padding: 0.1875rem;
  .no-hd {
    position: relative;
    border: 1px solid rgba(25, 186, 139, 0.17);
    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 0.375rem;
      height: 0.125rem;
      border-top: 2px solid #02a6b5;
      border-left: 2px solid #02a6b5;
    }

    &::after {
      content: "";
      position: absolute;
      bottom: 0;
      right: 0;
      width: 0.375rem;
      height: 0.125rem;
      border-bottom: 2px solid #02a6b5;
      border-right: 2px solid #02a6b5;
    }
    ul {
      display: flex;
      li {
        position: relative;
        flex: 1;
        height: 1rem;
        text-align: center;
        line-height: 1rem;
        font-size: 0.875rem;
        color: #ffeb7b;
        font-family: electronicFont;
      }
      & :nth-child(1):after {
        content: "";
        position: absolute;
        top: 25%;
        right: 0;
        width: 1px;
        height: 50%;
        background-color: rgba(255, 255, 255, 0.2);
        // background-color: red;
      }
    }
  }
  .no-bd {
    ul {
      display: flex;
      li {
        flex: 1;
        height: 0.5rem;
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.225rem;
        padding-top: 0.125rem;
        text-align: center;
        line-height: 0.5rem;
        letter-spacing: 2px;
      }
    }
  }
}

// 地图模块
.map {
  position: relative;
  height: 10.125rem;
  // background-color: #ffeb7b;
  .map1 {
    position: absolute;
    height: 6.475rem;
    width: 6.475rem;
    background: url(../images/map.png) no-repeat;
    background-size: 100% 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
  }
  .map2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8.0375rem;
    height: 8.0375rem;

    background: url(../images/lbx.png) no-repeat;
    background-size: 100% 100%;
    // background-color: #fff;
    // border-radius: 50%;
    // overflow: hidden;
    // 调用动画
    animation: rotate1 15s linear infinite;
    opacity: 0.6;
  }
  .map3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 7.075rem;
    height: 7.075rem;
    background: url(../images/jt.png) no-repeat;
    background-size: 100% 100%;

    // 调用动画
    animation: rotate2 15s linear infinite;
    opacity: 0.6;
  }

  // 制作旋转动画
  @keyframes rotate1 {
    0% {
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) rotate(360deg);
    }
  }

  @keyframes rotate2 {
    0% {
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) rotate(-360deg);
    }
  }
  
  .chart{
    width: 100%;
    height: 10.125rem;
    // background-color: #fff;
  }
}


/* 约束屏幕尺寸 */
@media screen and (max-width: 1024px) {
  html {
    font-size: 42px !important;
  }
}
@media screen and (min-width: 1920px) {
  html {
    font-size: 80px !important;
  }
}